package test;

import org.springframework.context.support.FileSystemXmlApplicationContext;
import pojo.Car;
import pojo.meeting;

public class Main {
    public static void main(String args[]){


    FileSystemXmlApplicationContext context=new FileSystemXmlApplicationContext("D:\\homework\\src\\main\\resources\\application.xml");
     Car car= (Car) context.getBean("Car1");
      meeting meeting= (meeting) context.getBean("metting");
    System.out.println("会议信息老板"+meeting.getBoss().getName());
        System.out.println("会议主题"+meeting.getTheme());
}
}
